/*
 * CompassCalibration.cpp
 *
 *  Created on: Jul 17, 2016
 *      Author: Yang
 */

#include "CompassCalibration.hpp"

uint8_t CompassCalibration(void)
{
    if (Parameter.data.Compass_Calibrate_Flag == COMPASS_CALIBRATED_FLAG)
    {
        console.printf((char*) "Compass has calibrated                          [JUMP]\r\n");
        return 0;
    }
    else
    {
        console.printf((char*) "Compass calibrate                                 [OK]\r\n");
        return 1;
    }
}

